<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/05
  Time: 16:49
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<jsp:include page="head.jsp"/>

<div id="error-page-wrapper">
    <div class="container">
        <div class="row">
            <div class="col-lg-6 m-auto text-center">
                <div class="error-content-centered d-flex align-items-center">
                    <div class="error-page-content-wrap">
                        <h2>404</h2>
                        <h3>页面未找到</h3>
                        <c:if test="${error == 1}">
                            <p>对不起，您的用户认证已过期。</p>
                            <script>
                                window.setTimeout(function () {
                                    location.href = "${pageContext.request.contextPath}/user/gotologin.do";
                                },3000);
                            </script>
                        </c:if>
                        <c:if test="${error == 2}">
                            <p>对不起，您正在查找的页面不存在、已被删除、名称更改或暂时不可用。</p>
                        </c:if>

                        <div class="sidebar-search">
                            <form action="#" method="get">
                                <input type="search" placeholder="type Keyword" />
                                <button type="submit"><i class="fa fa-search"></i></button>
                            </form>
                        </div>

                        <a href="${pageContext.request.contextPath}/index.do" class="btn">Back to Home Page</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<jsp:include page="foot.jsp"/>
</body>
</html>
